package com.hkts.beltweigher.master.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author hml
 * @since 2024-07-05
 */
public class Displaydata extends Model<Displaydata> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 仪表名称
     */
    private String instrumentName;
    /**
     * 通讯状态
     */
    private Boolean dataStatus;
    /**
     * 累计值
     */
    private Float accumulate;
    /**
     * 流量值
     */
    private Float flowValue;
    /**
     * 速度值
     */
    private Float speedValue;
    /**
     * 小时累计
     */
    private Float hourlyAccumulation;
    /**
     * 班累计
     */
    private Float classAccumulation;
    /**
     * 日累计
     */
    private Float dayAccumulation;
    /**
     * 修改日期
     */
    private LocalDateTime updateDate;
    /**
     * 修改日期
     */
    private LocalDateTime updadeTime;
    /**
     * 备注
     */
    private String remark;
    /**
     * 累计值
     */
    private Float accumulateCopy;
    /**
     * 流量值
     */
    private Float flowValueCopy;
    /**
     * 速度值
     */
    private Float speedValueCopy;
    /**
     * 小时累计
     */
    private Float hourlyAccumulationCopy;
    /**
     * 班累计
     */
    private Float classAccumulationCopy;
    /**
     * 日累计
     */
    private Float dayAccumulationCopy;
    /**
     * 开关状态
     */
    private Integer switchStatus;
    /**
     * 每班初始累计值
     */
    private Float initAccumulate;
    /**
     * 计算班累计值初始值
     */
    private Float classInitAccumulate;

    /**
     *西线料仓名称
     */
    private String westName;

    public String getWestName() {
        return westName;
    }

    public void setWestName(String westName) {
        this.westName = westName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getInstrumentName() {
        return instrumentName;
    }

    public void setInstrumentName(String instrumentName) {
        this.instrumentName = instrumentName;
    }

    public Boolean getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(Boolean dataStatus) {
        this.dataStatus = dataStatus;
    }

    public Float getAccumulate() {
        return accumulate;
    }

    public void setAccumulate(Float accumulate) {
        this.accumulate = accumulate;
    }

    public Float getFlowValue() {
        return flowValue;
    }

    public void setFlowValue(Float flowValue) {
        this.flowValue = flowValue;
    }

    public Float getSpeedValue() {
        return speedValue;
    }

    public void setSpeedValue(Float speedValue) {
        this.speedValue = speedValue;
    }

    public Float getHourlyAccumulation() {
        return hourlyAccumulation;
    }

    public void setHourlyAccumulation(Float hourlyAccumulation) {
        this.hourlyAccumulation = hourlyAccumulation;
    }

    public Float getClassAccumulation() {
        return classAccumulation;
    }

    public void setClassAccumulation(Float classAccumulation) {
        this.classAccumulation = classAccumulation;
    }

    public Float getDayAccumulation() {
        return dayAccumulation;
    }

    public void setDayAccumulation(Float dayAccumulation) {
        this.dayAccumulation = dayAccumulation;
    }

    public LocalDateTime getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(LocalDateTime updateDate) {
        this.updateDate = updateDate;
    }

    public LocalDateTime getUpdadeTime() {
        return updadeTime;
    }

    public void setUpdadeTime(LocalDateTime updadeTime) {
        this.updadeTime = updadeTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Float getAccumulateCopy() {
        return accumulateCopy;
    }

    public void setAccumulateCopy(Float accumulateCopy) {
        this.accumulateCopy = accumulateCopy;
    }

    public Float getFlowValueCopy() {
        return flowValueCopy;
    }

    public void setFlowValueCopy(Float flowValueCopy) {
        this.flowValueCopy = flowValueCopy;
    }

    public Float getSpeedValueCopy() {
        return speedValueCopy;
    }

    public void setSpeedValueCopy(Float speedValueCopy) {
        this.speedValueCopy = speedValueCopy;
    }

    public Float getHourlyAccumulationCopy() {
        return hourlyAccumulationCopy;
    }

    public void setHourlyAccumulationCopy(Float hourlyAccumulationCopy) {
        this.hourlyAccumulationCopy = hourlyAccumulationCopy;
    }

    public Float getClassAccumulationCopy() {
        return classAccumulationCopy;
    }

    public void setClassAccumulationCopy(Float classAccumulationCopy) {
        this.classAccumulationCopy = classAccumulationCopy;
    }

    public Float getDayAccumulationCopy() {
        return dayAccumulationCopy;
    }

    public void setDayAccumulationCopy(Float dayAccumulationCopy) {
        this.dayAccumulationCopy = dayAccumulationCopy;
    }

    public Integer getSwitchStatus() {
        return switchStatus;
    }

    public void setSwitchStatus(Integer switchStatus) {
        this.switchStatus = switchStatus;
    }

    public Float getInitAccumulate() {
        return initAccumulate;
    }

    public void setInitAccumulate(Float initAccumulate) {
        this.initAccumulate = initAccumulate;
    }

    public Float getClassInitAccumulate() {
        return classInitAccumulate;
    }

    public void setClassInitAccumulate(Float classInitAccumulate) {
        this.classInitAccumulate = classInitAccumulate;
    }

    public static final String ID = "id";

    public static final String INSTRUMENT_NAME = "instrument_name";

    public static final String DATA_STATUS = "data_status";

    public static final String ACCUMULATE = "accumulate";

    public static final String FLOW_VALUE = "flow_value";

    public static final String SPEED_VALUE = "speed_value";

    public static final String HOURLY_ACCUMULATION = "hourly_accumulation";

    public static final String CLASS_ACCUMULATION = "class_accumulation";

    public static final String DAY_ACCUMULATION = "day_accumulation";

    public static final String UPDATE_DATE = "update_date";

    public static final String UPDADE_TIME = "updade_time";

    public static final String REMARK = "remark";

    public static final String ACCUMULATE_COPY = "accumulate_copy";

    public static final String FLOW_VALUE_COPY = "flow_value_copy";

    public static final String SPEED_VALUE_COPY = "speed_value_copy";

    public static final String HOURLY_ACCUMULATION_COPY = "hourly_accumulation_copy";

    public static final String CLASS_ACCUMULATION_COPY = "class_accumulation_copy";

    public static final String DAY_ACCUMULATION_COPY = "day_accumulation_copy";

    public static final String SWITCH_STATUS = "switch_status";

    public static final String INIT_ACCUMULATE = "init_accumulate";

    public static final String CLASS_INIT_ACCUMULATE = "class_init_accumulate";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Displaydata{" +
                ", id=" + id +
                ", instrumentName=" + instrumentName +
                ", dataStatus=" + dataStatus +
                ", accumulate=" + accumulate +
                ", flowValue=" + flowValue +
                ", speedValue=" + speedValue +
                ", hourlyAccumulation=" + hourlyAccumulation +
                ", classAccumulation=" + classAccumulation +
                ", dayAccumulation=" + dayAccumulation +
                ", updateDate=" + updateDate +
                ", updadeTime=" + updadeTime +
                ", remark=" + remark +
                ", accumulateCopy=" + accumulateCopy +
                ", flowValueCopy=" + flowValueCopy +
                ", speedValueCopy=" + speedValueCopy +
                ", hourlyAccumulationCopy=" + hourlyAccumulationCopy +
                ", classAccumulationCopy=" + classAccumulationCopy +
                ", dayAccumulationCopy=" + dayAccumulationCopy +
                ", switchStatus=" + switchStatus +
                ", initAccumulate=" + initAccumulate +
                ", classInitAccumulate=" + classInitAccumulate +
                "}";
    }
}
